package com.kly.cashmall.module.products.adapter;

import androidx.annotation.NonNull;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.viewholder.BaseViewHolder;
import com.kly.cashmall.R;
import com.kly.cashmall.bean.PermissionDetailsBean;


/**
 * author :
 * date   : 2019-12-30 10:08
 * desc   :
 */
public class ApplyForPermissionAdapter extends BaseQuickAdapter<PermissionDetailsBean, BaseViewHolder> {

    public ApplyForPermissionAdapter() {
        super(R.layout.item_apply_for_permission);
    }

    @Override
    protected void convert(@NonNull BaseViewHolder holder, PermissionDetailsBean bean) {
        holder.setText(R.id.item_permission_title,bean.getTitle());
        holder.setText(R.id.item_permission,bean.getTips());
    }
}
